package cn.laixueit.logs;

import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class Log2 {

    @After("execution(* cn.laixueit.service.StudentService.*(..))")
    public void saveLog(){
        System.out.println("log....");
    }
}
